# 路径配置
import os.path
#当前文件的路径及名称
#print(__file__)
# 获取文件的路径
fpath=os.path.dirname(__file__)
#截取文件路径，并获取第一个元素
print(os.path.split(fpath)[0])
# print(fpath)
# 项目目录
# pro_path=r"F:\wenjian\pythonProject2"
pro_path=os.path.split(fpath)[0]
# 数据目录
data_path=os.path.join(pro_path,"datas")

# 日志目录
log_path=os.path.join(pro_path,"logs")
#报告路径-json
report_json_path=os.path.join(pro_path,"report","report_json")
print(report_json_path)
#报告路径-html
report_html_path=os.path.join(pro_path,"report", "report_html")
print(report_html_path)

